html,
body {
    height: 100%;
}


body {
    background-image: url(../images/backImage01.jpg);
    background-size: cover;
}


#logo {
    margin: 20px 0 0 240px;
}


/* 登录和注册盒子 */
.box {
    height: 310px;
    width: 400px;
    background-color: #bebebe96;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 6px 0px rgba(153, 153, 153, 0.66);
}


.title {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 26px;
}


/* 表单 */
form {
    margin: 0 30px;
}


form a {
    float: right;
}


/* 字体图标 */
.layui-form-item {
    position: relative;
}


.layui-icon {
    position: absolute;
    left: 6px;
    top: 11px;
}


.layui-input {
    padding-left: 24px;
}


/* 默认，让注册的盒子隐藏 */
.register {
    display: none;
}


.box form {
    margin: 0 30px;
}


.layui-form-item .layui-input-block {
    margin: 0;
}


.box .layui-btn {
    width: 100%;


    color: #fff;
    background-color: #5ea0f1;
}


.box .layui-btn:hover {
    opacity: 1;
}


.box input {
    padding-left: 30px;
}


.box i {
    color: #999;
    line-height: 16px;
}


.right {
    float: right;
    cursor: pointer;
}


.register {
    display: none;
}